package com.责任链;

import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

/**
 * 使用process()方法，必须要有个空节点作为头节点才行
 */
@Service
@Order(0)
public class ChainImplEntity extends AbstractChainElement{
    @Override
    public void invok() {
        System.out.println("空链表节点执行");
    }
}
